package cn.buk.tms.dto;

/**
 * 与订单相关的设置参数
 * @author yfdai
 */
public class OrderConfigDto {

  /**
   * 是否一步创建订单
   * 1-是
   * 0-否
   */
  private int oneStepCreateOrder;

  /**
   * 在订单列表中是否隐藏客户名称
   * 1-是
   * 0-否
   */
  private int hideCustomerName;

  /**
   * 客户角色只能查看自己的订单
   * 1-yes
   * 0-no
   */
  private int isOnlySeeOwn;

  /**
   * 自动出票
   * 0 - BSP自动出票
   * 1 - SZKJ接口自动出票
   */
  private int autoTicketMode;

  /**
   * 自动开票开关
   */
  private int autoTicketSwitch;

  /**
   * 订单校验模式
   * 0 - 宽松
   * 1 - 严格
   */
  private int validationMode;

  public void setOneStepCreateOrder(int oneStepCreateOrder) {
    this.oneStepCreateOrder = oneStepCreateOrder;
  }

  public int getOneStepCreateOrder() {
    return oneStepCreateOrder;
  }

  public void setHideCustomerName(int hideCustomerName) {
    this.hideCustomerName = hideCustomerName;
  }

  public int getHideCustomerName() {
    return hideCustomerName;
  }

  public int getIsOnlySeeOwn() {
    return isOnlySeeOwn;
  }

  public void setIsOnlySeeOwn(int isOnlySeeOwn) {
    this.isOnlySeeOwn = isOnlySeeOwn;
  }

  public int getAutoTicketMode() {
    return autoTicketMode;
  }

  public void setAutoTicketMode(int autoTicketMode) {
    this.autoTicketMode = autoTicketMode;
  }

  public int getAutoTicketSwitch() {
    return autoTicketSwitch;
  }

  public void setAutoTicketSwitch(int autoTicketSwitch) {
    this.autoTicketSwitch = autoTicketSwitch;
  }

  public int getValidationMode() {
    return validationMode;
  }

  public void setValidationMode(int validationMode) {
    this.validationMode = validationMode;
  }
}
